home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 6 / MacMania 6.toast / / Internet software / PageSpinner 2.01 / Goodies / FAQ-Spinner / FAQ-Spinner Data (.txt) < prev    next >
FileMaker Pro Database  |  1997-06-07  |  72KB  |  858 lines

  1. ICApplicationFP7SFReply
  2. 4DoOpenOr
  3. Visual Architect alias 
  4. adrpBobF
  5. Oeply
  6. (AssignIdleChore__12CApplicationFP6CChore
  7. (CancelIdleChore__12CApplicationFP6CChore
  8. *AssignUrgentChore__12CApplicationFP6CCho
  9. Cool HD
  10. ycmBD
  11. Visual Architect
  12. APPLBobF
  13. Sym C++ for Power Mac
  14. >Cool HD:Development SPM:Sym C++ for Power Mac:Visual Archite
  15. HBAM2016AUG95
  16. Pro 3.0
  17. Visual Architect alias
  18.     Optima HD
  19.     Apputv C5
  20.     Optima HD
  21. Optima HD:Apputv C5
  22. "ics#
  23. .SICN
  24. :alis
  25. Apputv C5 alias
  26. fdrpMACS
  27. CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
  28. HBAM3016AUG95@
  29. There is no Windows version planned for the near future. 
  30. Plain HTML-files are cross-platform though, and you can set PageSpinner to use MS-DOS (Windows) line feeds to make it easier to edit PageSpinner files on a PC.
  31. tions are aimed at creating image maps visually:
  32. Mapper: 
  33. <A HREF="http://www.calles.pp.se/nisseb/mapper.html">http://www.calles.pp.se/nisseb/mapper.html</A>
  34. MapMaker: 
  35. <A HREF="http://www.kickinit.com/mapmaker/">http://www.kickinit.com/mapmaker/</A>
  36. ImageMapper: 
  37. <A HREF=" hB
  38. ttp://www.gla.ac.uk/Clubs/WebSoc/~9404524s/downloads/ImageMapper.html">http://www.gla.ac.uk/Clubs/WebSoc/~9404524s/downloads/ImageMapper.html</A>
  39. ant's window.
  40. </OL>
  41. You will now have a link to the new page in your home page.
  42. 6/7/977
  43. Falskt
  44.     Helvetica
  45. Geneva
  46. ANCHORID
  47. ANSWER
  48. ITEM NUMBER
  49. QUESTION
  50. SECTION NUMBER
  51. SECTION TITLE
  52. TITLE
  53. TitleB
  54. QuestionB
  55. AnswerB
  56. Item NumberB
  57. Section TitleB
  58. Section NumberB
  59. )& "." & 
  60. AnchorIDB
  61. ) & "_"  & 
  62. Falskt
  63.     Helvetica
  64. Geneva
  65. 81 General
  66. 2 Editor
  67. 3 Links
  68. 4 Images
  69. 5 JavaScript 
  70. 6 Misc
  71. Falskt
  72. Falskt
  73. Falskt
  74. Falskt
  75. Falskt
  76. Question Title
  77. Question
  78. Answer
  79. Section Title
  80. SectionX
  81. Falskt
  82.     Helvetica
  83. Geneva
  84. Falskt
  85. Falskt
  86. Section Titles
  87. Section TitleB
  88. ItemC
  89. TitleH
  90. FAQ-SpinnerK
  91. SectionL
  92. is FAQ about?
  93. This FAQ , short for Frequently Asked Questions, is a compilation of the most common questions asked about PageSpinner. You are recommended to read this FAQ before sending a question about PageSpinner, the answer could be found in this document.
  94. PageSpinner is an HTML for MacOS, that supports supports both HTML 2.0 and many parts of HTML 3.2 plus additional Netscape Navigator extensions and is useful for both the beginner and the more advanced web author. It gives you quick access to oftBmen used formatting and also supports AppleGuide and an HTML Assistant that helps you compose your HTML pages.
  95. 1.0 General IssuesH
  96. Pro 3.0F!
  97. tisdag
  98. onsdag
  99. torsdag
  100. fredag
  101. januari
  102. februari
  103. april
  104. augusti
  105.     september
  106. oktober
  107. november
  108. december
  109. 1:a kvartalet
  110. 2:a kvartalet
  111. 3:e kvartalet
  112. 4:e kvartalet
  113. Input
  114. Output
  115. InputB
  116. Falskt
  117. Falskt
  118. Falskt
  119. Falskt
  120. Falskt
  121. Spin the FAQ
  122. Falskt
  123.     Helvetica
  124. Geneva
  125. Palatino
  126. (LIST
  127. LISTAJ1.0 General Issues
  128. 2.0 Working with PageSpinner
  129. 3.0 Miscellaneous Topics
  130. VDEFA(
  131. OutputB
  132. Falskt
  133. Falskt
  134. Falskt
  135. Falskt
  136. Falskt
  137. Create HTML Page
  138. Spin the FAQ
  139.     DB_Access
  140. Create HTML Page
  141. Create HTML Page
  142. Section TitleB
  143. SectionC
  144. ItemD
  145. Title
  146. Getting into a frameB
  147. I am using frames on my pages. I have a small frame with a table of contents and another large frame containing the actual contents. How can I make a link in the table of contents to open inside the second, larger, frame?
  148. tation" located inside the PageSpinner folder. 
  149. If you are a registered user of PageSpinner you can include these on your home or credits page if you want to. Thanks for supporting PageSpinner!
  150. 4.0 MISCELLANEOUS TOPICSH
  151. Getting into a frameB
  152. I am using frames on my pages. I have a small frame with a table of contents and another large frame containing the actual contents. How can I make a link in the table of contents to open inside the second, larger, frame?
  153. lder. 
  154. If you are a registered user of PageSpinner you can include these on your home or credits page if you want to. Thanks for supporting PageSpinner!
  155. 4.0 MISCELLANEOUS TOPICSH
  156. Getting into a frame
  157. AGIs there some "Spun with Page Spinner" graphics I could have on my page
  158. jThere is a small collection of images that can be viewed in the file "spun_with_pagespinner.html". The file and the images can be found inside the folder named "Documentation" located inside the PageSpinner folder. 
  159. If you are a registered user of PageSpinner you can include these on your home or credits page if you want to. Thanks for supporting PageSpinner!
  160. 4.0 MISCELLANEOUS TOPICSH
  161. inner" graphics I could have on my page
  162. jThere is a small collection of images that can be viewed in the file "spun_with_pagespinner.html". The file and the images can be found inside the folder named "Documentation" located inside the PageSpinner folder. 
  163. If you are a registered user of PageSpinner you can include these on your home or credits page if you want to. Thanks for supporting PageSpinner!
  164. 4.0 MISCELLANEOUS TOPICSH
  165. indows version, contact Optima System.</I>
  166. 4.0 MISCELLANEOUS TOPICSH
  167. AXNothing happens when I select "Beginner's Guide to HTML" or "JavaScript Authoring Guide"B
  168. I have Internet Config  installed and a connection to Internet, but when I click OK to access the "Beginner's Guide to HTML" or the "JavaScript Authoring Guide" in PageSpinner's Help menu, nothing happens.C
  169. You will need to specify your browser as the helper application  for the <B>http</B> protocol in the Helper section of Internet Config. You should restart after doing this.E
  170. 4.0 MISCELLANEOUS TOPICSH
  171.     A7How can I use PageSpinner to View Source from Netscape?B
  172. How can I use PageSpinner to handle pages downloaded with Netscape's "View: Document Source". The downloaded files contains strange characters and line feeds, and are virtually impossible to read or edit.
  173. http://www.calles.pp.se/nisseb/mapper.html</A>
  174. A$How do I open the PageSpinner Guide?BUHow can access the PageSpinner Guide? I just get an error message when I click on it.
  175. The PageSpinner Guide is an AppleGuide definition file and it needs to be located in the same file as PageSpinner. It is not accessible in the Finder.
  176. The Guide is available in the Help menu (at the right side of the menu bar) when PageSpinner is running. This menu  has a ? mark as an icon. The menu item's title is PageSpinner Guide.
  177. You'll need to have System 7.5 or later to use AppleGuides.
  178. 2.0 DOCUMENTATIONH
  179. Creating clickable Image MapsB4Can I create a clickable image map with PageSpinner?
  180.  or later to use AppleGuides.
  181. 2.0 DOCUMENTATIONH
  182. Creating clickable Image MapsB4Can I create a clickable image map with PageSpinner?
  183. Getting out of a frameByI am using frames on my pages. How can I make some links to be displayed in the full window and not in the current frame?
  184. If you have an existing link you can add the attribute text 
  185.    <CODE>TARGET="_top"</CODE>
  186. inside the <CODE><A HREF="link.html" ...></CODE> tag of the link that should use the full window.
  187. When creating a new link, type the text <B>_top</B> in HTML Assistant's Link field named:
  188.    <FONT SIZE=-1>"Open the link in a window or frame named:"</FONT>
  189.     w%w%w%
  190.     w%w%w%
  191. 3.0 WORKING WITH PAGESPINNERH
  192. stant's Link field named:
  193.    <FONT SIZE=-1>"Open the link in a window or frame named:"</FONT>
  194.     w%w%w%
  195.     w%w%w%
  196. 3.0 WORKING WITH PAGESPINNERH
  197. Us the menu item <B>Convert From Source...</B> available in the menu <B>Edit : Convert</B> or in the Find button's pop up menu in the toolbar.
  198. PageSpinner will then remove or translate unnecessary line feeds and high ASCII characters and restyle the text automatically.
  199. In Netscape you can specify that PageSpinner should be used as the helper application for viewing downloaded  HTML source files.
  200. 3.0 WORKING WITH PAGESPINNERH
  201.  want the link to be inserted.
  202. Select HTML Assistant from the Windows menu.
  203. Select the Link topic.
  204. Click the open button (in the upper right side of Assistant's window) and select the newly created page you want tSelect HTML Assistant from the Windows menu.
  205. Select the Link topic.
  206. Click the open button (in the upper right side of Assistant's window) and select the newly created page you want t
  207. Additional documentationBUIs there any other documentation available? Is there some documentation I can print?
  208. The major part of the PageSpinner documentation is only in form of an AppleGuide that is available as "PageSpinner Guide" in the Help Menu. It is not possible to print the contents of an AppleGuide, though.
  209. There are additional information, including an HTML-version of the PageSpinner Guide's "Getting Started" section in the folder named "Documentation" located inside the PageSpinner folder. These can all be viewed and printed using your favourite browser.
  210. You will also find useful inforB<mation in the text files "What's new?" and "Read Me FIRST!".
  211. 2.0 DOCUMENTATIONH
  212. amed "Documentation" located inside the PageSpinner folder. These can all be viewed and printed using your favorite browser.
  213. You will also find useful BAinformation in the text files "What's new?" and "Read Me FIRST!".
  214. 2.0 DOCUMENTATIONH
  215. Navigating the FAQ
  216. uThe following navigation buttons can be used when you view the FAQ in your browser, I hope you'll like it:
  217.    <IMG SRC="arrow_collapsed.gif" WIDTH="14" HEIGHT="15"> Expand section
  218.    <IMG SRC="arrow_expanded.gif" WIDTH="14" HEIGHT="15"> Close section
  219.    <IMG SRC="button_close.gif" WIDTH="11" HEIGHT="11"> Go to the table of contents
  220.     w%w%w%
  221. 1.0 GENERAL ISSUESH
  222. Where is the Notebook stored?BRI want to backup the contents of the built-in Notebook, where is this data stored?C
  223. The pages of the Notebok are stored in the file named <B>PageSpinner Textscrap</B>.  This file is located inside the System folder's <B>Preferences</B> folder.E
  224. 4.0 MISCELLANEOUS TOPICSH
  225. A.How can I go to a specific line in the editor?
  226. nullon run
  227.     -- 1: Define variables *********************************************
  228.     global databaseName
  229.     set databaseName to "FAQ-Spinner"
  230.     -- The filename of the data base
  231.     -- Needs to be open in the frontmost window in the database app
  232.     set theFields to {"Title", "Question", "Answer", "Section Title", "ID"}
  233.     -- The field names from where data should be retreived
  234.     -- You will need to have placeholders in the template named $fieldname$, e.g., $ProductName$
  235.     -- The template filePalatino
  236. (LIST
  237. LISTAJ1.0 General Issues
  238. 2.0 Working with PageSpinner
  239. 3.0 Miscellaneous Topics
  240. VDEFA(
  241. Add the name of the second larger frame in the field named
  242.    "<FONT SIZE=-1>Open the link in a window or frame named:"</FONT>
  243. in HTML Assistant's Link topic when you create the link.
  244. If you have an existing link you can add the attribute text 
  245.    <CODE>TARGET="<I>framename</I>"</CODE>
  246. inside the <CODE><A HREF="link.html" ...></CODE> tag of the link that should be displayed in the frame named <I>framename</I>.
  247. There are information on how to createBP frames in the PageSpinner AppleGuide and frame examples in the Examples folder.
  248.     w%w%w%
  249.     w%w%w%
  250. 3.0 WORKING WITH PAGESPINNERH
  251. A%Is there a Windows version available?BkPageSpinner is nice and easy to use, but I also have to work on a PC. Is there a Windows version available?
  252. PAGESPINNERH
  253.  Help menu.
  254. 1 General IssuesH
  255. You should be able to download the latest version of Internet Config from <A HREF="ftp://ftp.share.com/pub/internet-configuration/">ftp://ftp.share.com/pub/internet-configuration/</A>
  256. Once installed you will need to specify your browser as the helper application for the protocol <B>http</B>, in Internet Config's Helper section.
  257. The Beginner's guide to HTML menu item is a bookmark to:
  258. <A HREF="http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html">http://www.ncsa.uiuc.edu/General/B
  259. Internet/WWW/HTMLPrimer.html</A>
  260. The JavaScript Authoring Guide can be found at:
  261. <A HREF="http://home.netscape.com/eng/mozilla/Gold/handbook/javascript/index.html">http://home.netscape.com/eng/mozilla/Gold/handbook/javascript/index.html</A>
  262. net Config isn't highlighted in the Preferences. What should I do?
  263. pinner?
  264. .JyWsFindnull
  265. .corecnte****
  266. getfield
  267. GetField
  268. thedata
  269. theData
  270. .JyWsReplnull
  271. filename
  272. fileName
  273. .JyWsIsrtnull
  274. UOkE`
  275. ,FO*a
  276. ",FO*a
  277. ",FOja
  278. ',FO*j
  279. ',FO_
  280. 5,FO*j
  281. 6UOP[OY
  282. OPUO_
  283. OPUOP[OY
  284. ',FO*j
  285. OPUOP
  286. theData
  287.     -- 2: Process records *********************************************
  288.     tell DB_Access
  289.         set nRecs to Ge
  290. ADI don't have Internet Config, so I can't access some Help menu itemsB
  291. When I tried to access the "Beginner's Guide to HTML" and the "JavaScript Authoring Guide" PageSpinner said that I needed Internet Config. However, Internet Config isn't highlighted in the Preferences. What should I do?
  292. //www.calles.pp.se/nisseb/mapper.html">http://www.calles.pp.se/nisseb/mapper.html</A>
  293.     w%w%w%
  294.     w%w%w%
  295. 3.0 WORKING WITH PAGESPINNERH
  296. ADI don't have Internet Config, so I can't access some Help menu itemsB
  297. When I tried to access the "Beginner's Guide to HTML" and the "JavaScript Authoring Guide" PageSpinner said that I needed Internet Config. However, Internet Config isn't highlighted in the Preferences. What should I do?
  298.  Authoring Guide" in PageSpinner
  299. s Help menu, nothing happens.
  300. /handbook/javascript/index.html</A>
  301. BsWhen using an external HTML Validator or debugging JavaScrips, I need to find a given line number to edit the text.C
  302. Use the <B>Goto Line...</B> menu item that is available in the <B>Edit : Find/Replace</B> menu. 
  303. The keyboard shortcut is Command and ,
  304. 3.0 WORKING WITH PAGESPINNERH
  305. dex.html or welcome.html (you will have to check this with the Webmaster at your site).
  306. Open the home page in PageSpinner.
  307. Place the cursor where you want the link to be inserted.
  308. Select HTML Assistant from the Windows menu.
  309. Select the Link topic.
  310. Click the open button (in the upper right side of Assistant's window) and select the newly created page you want tssistant from the Windows menu.
  311. Select the Link topic.
  312. Click the open button (in the upper right side of Assistant's window) and select the newly created page you want t
  313.     w%w%w%
  314.     w%w%w%
  315. w%w%w%
  316.     w%w%w%
  317.     w%w%w%
  318.     w%w%w%
  319.     w%w%w%
  320. Helper section.
  321. The Beginner's guide to HTML menu item is a bookmark to:
  322. <A HREF="http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html">http://www.ncsa.uiuc.edu/General/IB
  323. nternet/WWW/HTMLPrimer.html</A>
  324. The JavaScript Authoring Guide can be found at:
  325. <A HREF="http://home.netscape.com/eng/mozilla/Gold/handbook/javascript/index.html">http://home.netscape.com/eng/mozilla/Gold/handbook/javascript/index.html</A>
  326. http://www.ncsa.uiuc.edu/General/IWWW/HTMLPrimer.html">http://www.ncsa.uiuc.edu/General/I
  327. A    DB_Access
  328. unull-- 3:The DB_Access module
  329. -- Script with subroutines used for accessing the database
  330. -- You should only need to change these if you are using another database application
  331. script DB_Access
  332.     on GetNumRecords()
  333.         global linkNameField
  334.         global databaseName
  335.         local nRecs
  336.         tell application "FileMaker Pro"
  337.             set nRecs to count of records in document databaseName
  338.         end tell
  339.         return nRecs
  340.     end GetNumRecords
  341.     to GetField(fieldName, recordIndex)
  342.         -- fieldName should contain
  343. Falskt
  344.     Helvetica
  345. Geneva
  346. Palatino
  347. (LIST
  348. LISTAJ1.0 General Issues
  349. 2.0 Working with PageSpinner
  350. 3.0 Miscellaneous Topics
  351. VDEFA(
  352. ListB
  353. Falskt
  354. Falskt
  355. Falskt
  356. Falskt
  357. Section TitleB
  358. Section NumberC
  359. Item NumberD
  360. Title
  361.  the name of the column, recordIndex the row (record) number 
  362.         global databaseName
  363.         local myData
  364.         tell application "FileMaker Pro"
  365.             set myData to (get data of cell named fieldName of record recordIndex in document databaseName)
  366.         end tell
  367.         return myData
  368.     end GetField
  369. end script
  370. FasdUAS 1.101.10
  371.  3:The DB_Access module
  372. 8 Script with subroutines used for accessing the d
  373. atabase
  374. S You should only need to change these if you are using another database application
  375.     db_access
  376.     DB_Access
  377. getnumrecords
  378. GetNumRecords
  379. linknamefield
  380. linkNameField
  381. databasename
  382. databaseName
  383. nrecs
  384. nRecs
  385. .corecnte****
  386. databasename
  387. databaseName
  388. nrecs
  389. nRecs
  390. FileMaker Pro
  391. Cool HD
  392. ycmBD
  393. FileM
  394. aker Pro
  395. APPLFMP3
  396. FileMaker Pro 3.0-mapp
  397. ,Cool HD:FileMaker Pro 3.0-mapp:FileMaker Pro
  398. nrecs
  399. nRecs
  400. getfield
  401. GetField
  402.     fieldname
  403.     fieldName
  404. recordindex
  405. recordIndex
  406. V fieldName should contain the name of the column, recordIndex the row (record) number 
  407. databasename
  408. databaseName
  409. mydata
  410. myData
  411. .coregetd****
  412.     fieldname
  413. ldName
  414. kfrmname
  415. recordindex
  416. recordIndex
  417. databasename
  418. databaseName
  419. mydata
  420. myData
  421. mydata
  422. myData
  423. b_access
  424.     DB_Access
  425.     db_access
  426.     DB_Access
  427. getnumrecords
  428. GetNumRecords
  429. getfield
  430. GetField
  431. getnumrecords
  432. GetNumRecords
  433. nrecs
  434. nRecs
  435. databasename
  436. databaseName
  437. .corecnte****
  438. getfield
  439. GetField
  440.     fieldname
  441.     fieldName
  442. recordindex
  443. record
  444. Index
  445.     fieldname
  446.     fieldName
  447. recordindex
  448. recordIndex
  449. mydata
  450. myData
  451. databasename
  452. databaseName
  453. kfrmname
  454. .coregetd****
  455. linknamefield
  456. linkNameField
  457. databasename
  458. databaseName
  459. nrecs
  460. nRecs
  461. Falskt
  462.     Helvetica
  463. Geneva
  464. Palatino
  465. (LIST
  466. LISTA\1.0 GENERAL ISSUES
  467. 2.0 DOCUMENTATION
  468. 3.0 WORKING WITH PAGESPINNER
  469. 4.0 MISCELLANEOUS TOPICS
  470. VDEFA(
  471. databasename
  472. databaseName
  473. FAQ-Spinner
  474. databasename
  475. databaseName
  476. s needs to be set to stationery files, (use File:Get Info... in Finder)
  477.     global linkNameField
  478.     set linkNameField to "ID"
  479.     -- the vaule in this field will be used for the anchor, so it should be unique and valid (not contain spaces)
  480.     set titleNameField to "Title"
  481.     -- the vaule in this field will be used as the link text in the index section
  482.     set psStationaryName to ":AppleScript:FAQ-Spinner:FAQ_List.html"
  483.     -- The html file containing place holders, must be a stationery file
  484.     -- Includ
  485. e the path to document before the filename
  486.     set psRecordName to ":AppleScript:FAQ-Spinner:FAQ_Record.html"
  487.     -- The html file containing HTML for each record, must be a stationery file
  488.     -- Include the path to document before the filename
  489.     set indexText to ""
  490.     -- variable used to keep all filenames and links so we can create an index file with anchors
  491.     global nRecs
  492.     global theData
  493.     -- 2: Process records *********************************************
  494.     tell DB_Access
  495.         set nRecs to Ge
  496. tNumRecords()
  497.     end tell
  498.     set currentRec to 1
  499.     tell application "PageSpinner" -- Open template for the record
  500.         set line feed conversion to psP -- Change this to the preferred conversion mode
  501.         open file psRecordName
  502.         activate
  503.         do menu "Select All"
  504.         do menu "Copy" -- Put the original in clipboard
  505.         set name of window 1 to "**Scrap**"
  506.         -- prepare insertion of recs, Open list template
  507.         open file psStationaryName
  508.         set name of window 1 to "List.html"
  509.         select text 0 to 0
  510.         set s
  511. earch string to "<!-- PS_INSERT_RECS_BELOW -->"
  512.         find next
  513.         do menu "Clear"
  514.     end tell
  515.     repeat while currentRec 
  516.  nRecs -- For every record
  517.         tell application "PageSpinner"
  518.             -- Create a clean template 
  519.             do menu "**Scrap**"
  520.             do menu "Select All"
  521.             do menu "Paste"
  522.         end tell
  523.         -- Now replace $...$ placeholders with values from the database
  524.         repeat with fieldNameIndex in theFields -- For every field specified above
  525.             tell DB_Access
  526.                 set theData to GetField(field
  527. NameIndex, currentRec) as text
  528.             end tell
  529.             tell application "PageSpinner"
  530.                 set search string to "$" & fieldNameIndex & "$"
  531.                 set replace string to theData
  532.                 replace all
  533.             end tell
  534.         end repeat -- For every field 
  535.         -- Insert the record in list file
  536.         tell application "PageSpinner"
  537.             do menu "Select All"
  538.             do menu "Copy" -- Copy the HTML for the record
  539.             do menu "List.html" -- Activate the window
  540.             -- do script "linefeed" -- Insert a mac linefeed, for bette
  541. r readability
  542.             do menu "Paste" -- Paste the HTML for the record
  543.         end tell
  544.         -- Add this record to the index text
  545.         tell DB_Access -- Find the field that contains the text that should be used as an anchor
  546.             set theData to GetField(linkNameField, currentRec)
  547.         end tell
  548.         set fileName to "#" & theData
  549.         tell DB_Access -- Find the field that contains the text that should be used as the text of the link
  550.             set theData to GetField(titleNameField, currentRec)
  551.         end tell
  552.         -- TIP:type \r to insert a valid linefeed in a string:
  553.         set indexText to indexText & 
  554. <A HREF=\"" & fileName & "\">" & theData & "</A>"
  555.         set currentRec to currentRec + 1
  556.         tell application "PageSpinner"
  557.             -- Restore clean template
  558.             open file psRecordName -- Open the template file for the record
  559.             do menu "Select All"
  560.             do menu "Copy" -- Put the original in clipboard
  561.             do menu "Close"
  562.         end tell
  563.     end repeat -- For every record
  564.     tell application "Pag
  565. eSpinner"
  566.         do menu "List.html"
  567.         select text 0 to 0
  568.         set search string to "<!-- PS_INSERT_INDEX_BELOW -->"
  569.         find next
  570.         insert text indexText
  571.         select text 0 to 0
  572.         do menu "Restyle Text"
  573.     end tell
  574. end run
  575. FasdUAS 1.101.10
  576. .aevtoappnull
  577. B 1: Define variables *********************************************
  578. databasename
  579. databaseName
  580. FAQ-Spinner
  581. databasename
  582. databaseName
  583.  The filename of the data base
  584. = Needs to be open in the frontmost window in the database app
  585. Title
  586. Question
  587. Answer
  588. Section Title
  589.     thefields
  590.     theFields
  591. 4 The field names from where data should be retreived
  592. Z You will need to have placeholders in the template named $fieldname$, e.g., $ProductName$
  593. Y The template files needs to be
  594.  set to stationery files, (use File:Get Info... in Finder)
  595. linknamefield
  596. linkNameField
  597. linknamefield
  598. linkNameField
  599. k the vaule in this field will be used for the anchor, so it should be unique and valid (not contain spaces)
  600. Title
  601. titlenamefield
  602. titleNameField
  603. K the vaule in this field will be used as the link text in the index section
  604. &:AppleScript:FAQ-Spinner:FAQ_List.html
  605. psstationaryname
  606. psStationaryName
  607. B The html file containing place holders, must be a stationery file
  608. 1 Include the path to document before the filename
  609. (:AppleScript:FAQ-Spinner:FAQ_Record.html
  610. psrecordname
  611. psRecordName
  612. I The html file containing HTML for each record, must be a stationery file
  613. 1 Include the path to document before the filename
  614.     indextext
  615.     indexText
  616. Z variable used to keep all filenames and links so we can create an index file with anchors
  617. nrecs
  618. nRecs
  619. thedata
  620. theData
  621. A 2: Process records ******************************************
  622. getnumrecords
  623. GetNumRecords
  624. nrecs
  625. nRecs
  626.     db_access
  627.     DB_Access
  628. currentrec
  629. currentRec
  630. ECnv<P> 
  631. - Change this to the preferred conversion mode
  632. .aevtodocnull
  633. psrecordname
  634. psRecordName
  635. .miscactvnull
  636. .miscmenu****
  637. Select All
  638. .miscmenu****
  639.  Put the original in clipboard
  640.     **Scrap**
  641. . prepare insertion of recs, Open list template
  642. .aevtodocnull
  643. psstationaryname
  644. psStationaryName
  645.     List.html
  646. .JyWsSelTnull
  647. <!-- PS_INSERT_RECS_BELOW -->
  648. .JyWsFindnull
  649. .miscmenu****
  650. Clear
  651.  Open template for the record
  652. PageSpinner    |v
  653. Transport JAZ
  654. PageSpinner
  655. APPLJyWs
  656. PS 4/2
  657.  Transport JAZ:PS 4/2:PageSpinner
  658. .SC/IOMEGA
  659.  Create a clean template 
  660. .miscmenu****
  661.     **Scrap**
  662. .miscmenu****
  663. Select All
  664. .miscmenu****
  665. Paste
  666. = Now replace $...$ placeholders with values from the database
  667. getfield
  668. GetField
  669. fieldnameindex
  670. fieldNameIndex
  671. currentrec
  672. rrentRec
  673. thedata
  674. theData
  675.     db_access
  676.     DB_Access
  677. fieldnameindex
  678. fieldNameIndex
  679. thedata
  680. theData
  681. .JyWsReplnull
  682.   For every field specified above
  683. fieldnameindex
  684. fieldNameIndex
  685.     thefields
  686.     theFields
  687.  For every field 
  688.  Insert the record in list file
  689. .miscmenu****
  690. Select All
  691. .miscmenu****
  692.  Copy the HTML for the record
  693. .miscmenu****
  694.     List.html
  695.  Activate the window
  696. F do script "linefeed" -- Insert a mac linefeed, for better readability
  697. .miscmenu****
  698. Paste
  699.  Paste the HTML for the record
  700. " Add this record to the index text
  701. getfield
  702. GetField
  703. nknamefield
  704. linkNameField
  705. currentrec
  706. currentRec
  707. thedata
  708. theData
  709. G Find the field that contains the text that should be used as an anchor
  710.     db_access
  711.     DB_Access
  712. thedata
  713. theData
  714. filename
  715. fileName
  716. getfield
  717. GetField
  718. titlenamefield
  719. titleNameField
  720. currentrec
  721. currentRec
  722. thedata
  723. theData
  724. R Find the field that contains the text that should be used as the text of the link
  725.     db_access
  726.     DB_Access
  727. 4 TIP:type \r to insert a valid linefeed in a string:
  728.     indextext
  729.     indexText
  730. <A HREF="
  731. filename
  732. fileName
  733. thedata
  734. theData
  735.     indextext
  736.     indexText
  737. currentrec
  738. currentRec
  739. currentrec
  740. currentRec
  741.  Restore clean template
  742. .aevtodocnull
  743. psrecordname
  744. psRecordName
  745. & Open the template file for the record
  746. .miscmenu****
  747. Select All
  748. .miscmenu****
  749.  Put the original in clipboard
  750. .miscmenu****
  751. Close
  752.  For every record
  753. curren
  754. currentRec
  755. nrecs
  756. nRecs
  757.  For every record
  758. .miscmenu****
  759.     List.html
  760. .JyWsSelTnull
  761. <!-- PS_I
  762. NSERT_INDEX_BELOW -->
  763. .JyWsFindnull
  764. .JyWsIsrtnull
  765.     indextext
  766.     indexText
  767. .JyWsSelTnull
  768. .miscmenu****
  769. Restyle Text
  770. .aevtoappnull
  771. .aevtoappnull
  772. fieldnameindex
  773. fieldNameIndex
  774. databasename
  775. databaseNam
  776.     thefields
  777.     theFields
  778. linknamefield
  779. linkNameField
  780. titlenamefield
  781. titleNameField
  782. psstationaryname
  783. psStationaryName
  784. psrecordname
  785. psRecordName
  786.     indextext
  787.     indexText
  788.     db_access
  789.     DB_Access
  790. getnumrecords
  791. GetNumRecords
  792. nrecs
  793. nRecs
  794. currentrec
  795. currentRec
  796. ECnv<P> 
  797. .aevtodocnull
  798. .miscactvnull
  799. .miscmenu****
  800. .JyWsSelT
  801. 3.0 WORKING WITH PAGESPINNERH
  802. Creating Multiple PagesB
  803. How do I make my web site have multiple page as opposed to one long scrolling page? For instance a home page and then other pages that are linked to it. 
  804. Create the new page, add the text you want and save it in the same folder as the home page. The home page should often be called index.html or welcome.html (you will have to check this with the Webmaster at your site).
  805. Open the home page in PageSpinner.
  806. Place the cursor where you want the link to be inserted.
  807. Select HTML Assistant from the Windows menu.
  808. Select the Link topic.
  809. Click the open button (in the upper right side of Assistant's window) and select the newly created page you want tB
  810. o link to.
  811. Type the text that should be used as the link's title in the Title field.
  812. Click the Apply button at the bottom of the Assistant's window.
  813. You will now have a link to the new page in your home page.
  814. 3.0 WORKING WITH PAGESPINNERH
  815. Creating Multiple PagesB
  816. How do I make my web site have multiple page as opposed to one long scrolling page? For instance a home page and then other pages that are linked to it. 
  817. Create the new page, add the text you want and save it in the same folder as the home page. The home page should often be called index.html or welcome.html (you will have to check this with the Webmaster at your site). Then do the following:
  818. <LI>Open your home page in PageSpinner.
  819. <LI>Place the cursor where you want the link to be inserted.
  820. <LI>Select HTML Assistant from the Windows menu.
  821. <LI>Select the Link topic.
  822. <LI>Click the open button (in the upper right side of Assistant's wind
  823. ow) and select the newly created page you want to link to.
  824. <LI>Type the text that should be used as the link's title in the Title field.
  825. <LI>Click the Apply button at the bottom of the Assistant's window.
  826. </OL>
  827. You will now have a link to the new page in your home page.
  828. 3.0 WORKING WITH PAGESPINNERH
  829.  There is no Windows version planned for the near future. <A HREF="http://www2.apple.com/whymac/default.html">Why Macintosh?</A>
  830. Plain HTML-files are cross-platform though, and you can set PageSpinner to use MS-DOS (Windows) line feeds to make it easier to edit PageSpinner files on a PC.
  831. 4.0 MISCELLANEOUS TOPICSH
  832. PageSpinner has only limited support for inserting image map tags. There is an example of making image maps using the shareware application GraphicConverter in the Examples folder. 
  833. The following  shareware applications are aimed at creating image maps visually:
  834. Mapper: 
  835. <A HREF="http://www.calles.pp.se/nisseb/mapper.html">http://www.calles.pp.se/nisseb/mapper.html</A>
  836. MapMaker: 
  837. <A HREF="http://www.kickinit.com/mapmaker/">http://www.kickinit.com/mapmaker/</A>
  838. ImageMapper: 
  839. <A HREF=" hBgttp://www.dcs.gla.ac.uk/~snaddosg/creations.html">http://www.dcs.gla.ac.uk/~snaddosg/creations.html</A>
  840. w%w%w%
  841. w%w%w%
  842. 3.0 WORKING WITH PAGESPINNERH
  843. Falskt
  844. About this FAQB
  845. What is this FAQ about?
  846. This FAQ, short for Frequently Asked Questions, is a compilation of the most common questions asked about PageSpinner. You are recommended to read this FAQ before sending in a question, the answer could be found in this document. I'm trying to answer as many questions as possible, but regrettable I don't have resources to answer all mail.
  847. PageSpinner is an HTML for MacOS, that supports both HTML 2.0 and many parts of HTML 3.2 plus additional Netscape Navigator extensions and plug-ins. It B
  848. is useful for both the beginner and the more advanced web author with quick access to often used formatting tools and support for AppleGuide and an HTML Assistant that helps you compose your HTML pages.
  849. 1.0 GENERAL ISSUESH
  850. A<How do I change background colors or add a background image?C
  851. Delete the old <CODE><BODY ....></CODE> start tag. Use the HTML Assistant's Body Topic to create a new body tag start tag.E
  852.  There is no Windows version planned for the near future. <A HREF="http://www2.apple.com/whymac/default.html">Why Macintosh?</A>
  853. Plain HTML-files are cross-platform though, and you can set PageSpinner to use MS-DOS (Windows) line feeds to make it easier to edit PageSpinner files on a PC.
  854. 4.0 MISCELLANEOUS TOPICSH
  855. w%w%w%
  856. w%w%w%
  857. w%w%w%
  858.